# It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description - Script to get folder/file size # Parameters - "" # Example - "/System/Applications/App\ Store.app" # Example - "/Applications/EndpointCentral" # Configuration Type - COMPUTER # Remarks - Please check the enable logging checkbox to get the size if [ $# == '1' ]; then du -sh "$1" else echo "Invalid Arguments - Please refer description of the script" exit 1 fi